from django.urls import path
from .views import IndexView, ListView, HotView, SKUSearchView, DetailView, Category_VisitCount, Goods

urlpatterns = [
    path('index/', IndexView.as_view()),
    path('list/<category_id>/skus/', ListView.as_view()),
    path('hot/<category_id>/', HotView.as_view()),
    path('search/', SKUSearchView()),
    path('detail/<sku_id>/', DetailView.as_view()),
    path('detail/visit/<category_id>/', Category_VisitCount.as_view()),
    # path('goods/<cat_id>/', Goods.as_view()),

]